package com.pdg.mcplugin.questfor.dataproviders;

public class PlayerQuestInstance {
	private static final String FORMAT = "%s(Lvl:%d,%s)";
	private String quest;
	private QuestStatus status;
	private int level;
	public String getQuest() {
		return quest;
	}
	private void setQuest(String quest) {
		this.quest = quest;
	}
	public QuestStatus getStatus() {
		return status;
	}
	private void setStatus(QuestStatus status) {
		this.status = status;
	}
	public int getLevel() {
		return level;
	}
	private void setLevel(int level) {
		this.level = level;
	}
	public PlayerQuestInstance(String theQuest,int theLevel,QuestStatus theStatus){
		setQuest(theQuest);
		setLevel(theLevel);
		setStatus(theStatus);
	}
	@Override
	public String toString(){
		return String.format(FORMAT,getQuest(),getLevel(),getStatus().toString());
	}
}
